package com.xiyu.service.convert.mailbox;

import com.xiyu.service.vo.mailbox.mailSignature.MailSignatureSaveAccountSignatureInput;
import com.xiyu.service.vo.mailbox.mailSignature.MailSignatureListAccountSignatureOutput;
import com.xiyu.service.model.mailbox.signature.MailboxAccountSignature;
import com.xiyu.service.vo.mailbox.mailSignature.MailSignatureUpdateSignatureInput;
import com.xiyu.service.vo.mailbox.mailSignature.MailSignatureListOutput;
import com.xiyu.service.model.mailbox.signature.MailboxMailSignature;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 邮箱签名 Convert
 */
@Mapper
public interface MailSignatureConvert {
    MailSignatureConvert INSTANCE = Mappers.getMapper(MailSignatureConvert.class);


    List<MailSignatureListOutput> listOutputConvert(List<MailboxMailSignature> output);

    MailboxMailSignature updateSignatureInputConvert(MailSignatureUpdateSignatureInput input);

    List<MailSignatureListAccountSignatureOutput> listAccountSignatureOutputConvert(List<MailboxAccountSignature> output);


    List<MailboxAccountSignature> saveAccountSignatureInputConvert(List<MailSignatureSaveAccountSignatureInput> input);

}
